package com.cjx.sec.repository;

import com.cjx.sec.pojo.doo.User;
import org.springframework.data.jpa.repository.support.JpaRepositoryImplementation;

import java.util.List;

/**
 * 用户持久层接口
 *
 * @author cjx
 * @date 2024/8/25 14:58
 */
public interface UserRepository extends JpaRepositoryImplementation<User, Long> {
    
    
    List<User> findByName(String name);
    
    User findByUsername(String username);
}
